<?php
$_CLASS['prossimoClienteCLS'] = "class_php/prossimoClienteCLS.php";

class checkCall extends Module
{
	var $socket = 0;
	var $analyzeArray = 1;
	var $analyzeError = 1;
	var $connDB = 1;
	var $func = 1;
	var $funcDB = 0;
	var $sqlFunc = 1;
	var $request = array();
	var $smarty = 1;
	var $session = array();
	var $impBase = array();
	var $fldError = array();
	var $usrError = array();
	var $sysError = array();
	var $usrInfo = array();
	var $usrInfoFuncJS = '';
	var $usrInfoValueBtn = '';
	var $extClass = array();
	var $appLog = 1;
	var $lastPageNo = 0;
	var $menu = 1;
	var $security = 1;
	
	function start()
	{
		$res = $this->controlCall();		
		
		if (isset($this->usrError[0]))
			print 'ERROR:'.$res;
		else
			print $res;
	
	}

	function controlCall()
	{
		$callId = $this->prossimoClienteCLS->interfaceAgentCheckCall();
		
		if ($callId == "") return "NO";
		else return "OK $callId";
		
	}

	function show()
	{		
	}
}

?> 
 
 
